function domain(arg) {
    document.domain = arg.domain ? arg.domain : location.origin;
    return axios[arg.method](arg.api, arg.config);
}
export default domain;
